package com.ruoyi.project.reportSystem.service;

import java.util.List;
import com.ruoyi.project.reportSystem.domain.AttendanceRecord;

/**
 * 考勤报表Service接口
 * 
 * @author wangshuo
 * @date 2020-05-17
 */
public interface IAttendanceRecordService 
{
    /**
     * 查询考勤报表
     * 
     * @param id 考勤报表ID
     * @return 考勤报表
     */
    public AttendanceRecord selectAttendanceRecordById(Long id);

    /**
     * 查询考勤报表列表
     * 
     * @param attendanceRecord 考勤报表
     * @return 考勤报表集合
     */
    public List<AttendanceRecord> selectAttendanceRecordList(AttendanceRecord attendanceRecord);

    /**
     * 新增考勤报表
     * 
     * @param attendanceRecord 考勤报表
     * @return 结果
     */
    public int insertAttendanceRecord(AttendanceRecord attendanceRecord);

    /**
     * 修改考勤报表
     * 
     * @param attendanceRecord 考勤报表
     * @return 结果
     */
    public int updateAttendanceRecord(AttendanceRecord attendanceRecord);

    /**
     * 批量删除考勤报表
     * 
     * @param ids 需要删除的考勤报表ID
     * @return 结果
     */
    public int deleteAttendanceRecordByIds(Long[] ids);

    /**
     * 删除考勤报表信息
     * 
     * @param id 考勤报表ID
     * @return 结果
     */
    public int deleteAttendanceRecordById(Long id);

    public AttendanceRecord selecAttendanceRecordByusername(AttendanceRecord attendanceRecord);

    int addqiandaoRecord(AttendanceRecord attendanceRecord);

    public AttendanceRecord selectTodayRecord(AttendanceRecord attendanceRecord);

    public List<AttendanceRecord> selectTodayRecordList(AttendanceRecord attendanceRecord);

    public List<AttendanceRecord> selecAttendanceRecordByStationCode(AttendanceRecord attendanceRecord);

    List<AttendanceRecord> selectUserstationListRecord(AttendanceRecord attendanceRecord);

}
